#ifndef NETWORK_POSTREQUEST_H
#define NETWORK_POSTREQUEST_H

#include "networkhttprequest.h"


namespace Network {

class PostRequest : public HttpRequest
{
    Q_OBJECT
public:
    PostRequest();

public:
    QNetworkReply *post(QNetworkAccessManager &manager, const QUrl &url) const;

private:
    virtual QByteArray data() const = 0;
    virtual QString format() const = 0;
};

} // namespace Network

#endif // NETWORK_POSTREQUEST_H
